package com.dimples.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dimples.common.page.metadata.Page;
import com.dimples.system.entity.SysDept;

import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zhongyj <1126834403@qq.com><br/>
 * @date 2021/7/18
 */
public interface SysDeptMapper extends BaseMapper<SysDept> {
    /**
     * 查询部门列表
     *
     * @param page    Page<SysDept>
     * @param sysDept SysDept
     * @return List<SysDept>
     */
    List<SysDept> listDept(@Param("page") Page<SysDept> page, @Param("sysDept") SysDept sysDept);
}